import { GeneralReturnValue } from "@/types/login";

// 获取分享文件列表
export interface getSharedFilesData<T> {
  totalCount: number;
  pageSize: number;
  pageNo: number;
  pageTotal: number;
  list: T[];
}
export interface getSharedFilesList {
  shareId: string;
  fileId: string;
  userId: string;
  validType: number;
  expireTime: string;
  shareTime: string;
  code: string;
  showCount: number;
  fileName: string;
  folderType: number;
  fileCategory: number;
  fileType: number;
  fileCover: string;
}
export interface getSharedFilesDataReturnValue
  extends GeneralReturnValue<getSharedFilesData<getSharedFilesList>> {}

// 分享文件
export interface shareFilesReturnValue
  extends GeneralReturnValue<getSharedFilesList> {}
